package com.cskaoyan.util.common;

import java.util.Date;

/**
 * @program: market
 * @description: 定义常量，包括code和一些用到的魔法值
 * @author: zhong
 * @create: 2022-07-17 14:46
 **/
public class Constant {
    //成功
    public static final int OK_CODE = 200;
    //已创建
    public static final int CREATED_CODE = 201;
    //没有权限
    public static final int UNAUTHORIZED_CODE = 401;
    //被禁止
    public static final int FORBIDDEN_CODE = 403;
    //未找到
    public static final int NOT_FOUND_CODE = 404;
    //其他
    public static final int OTHER_ERROR_CODE = 500;
    //已存在
    public static final int EXISTS_ERROR_CODE = 642;
    //历史足迹次数
    public static final int MAX_FOOTPRINT_SIZE = 3;
    // 微信token header
    public static final String WX_TOKEN_HEADER = "X-CskaoyanMarket-Token";

    public static final String QCLOUD_SECRET_ID = "AKIDgDVYMvEI9l7F9pFQM3VifNq30iBQSFo8";
    public static final String QCLOUD_SECRET_key = "81e2A2e181f3C7nEQM4YnmW3LNAi15vW";
    public static final String QCLOUD_COS_REGION = "ap-guangzhou";
    public static final String QCLOUD_BUCKET_NAME = "mycos-1312595656";
    public static final String QCLOUD_APPID = "1312595656";
    public static final String QCLOUD_ACCESS_URL = "https://mycos-1312595656.cos.ap-guangzhou.myqcloud.com";

    public final static String ZK_COS_SECRET_ID = "AKIDZ1KTP6lIdjaaOyJQLH97vW2Um27yKfuE";
    public final static String ZK_COS_SECRET_KEY = "JWdfhhdWMBxhQ6hFlDatLk5OyVyQCyiP";
    public final static String ZK_COS_SMS_SDK_APPID = "1400707155";
    public final static String ZK_COS_SMS_SIGN_NAME = "嘀八鸽";
    public final static String ZK_COS_SMS_TEMPLATE_ID = "1480068";

    public final static String DEFAULT_USER_AVATAR_URL = "https://test-1258791008.cos.ap-shanghai.myqcloud.com/market/user_avatar_url.jpg";

    /**
     *@Description :订单发货快递公司
     *@Param :
     *@Return :
     */
    public static final String ORDER_CHANNEL = "{\"errno\":0,\"data\":[" +
            "{\"code\":\"ZTO\",\"name\":\"中通快递\"}," +
            "{\"code\":\"YTO\",\"name\":\"圆通速递\"}," +
            "{\"code\":\"YD\",\"name\":\"韵达速递\"}," +
            "{\"code\":\"YZPY\",\"name\":\"邮政快递包裹\"}," +
            "{\"code\":\"EMS\",\"name\":\"EMS\"}," +
            "{\"code\":\"DBL\",\"name\":\"德邦快递\"}," +
            "{\"code\":\"FAST\",\"name\":\"快捷快递\"}," +
            "{\"code\":\"ZJS\",\"name\":\"宅急送\"}," +
            "{\"code\":\"TNT\",\"name\":\"TNT快递\"}," +
            "{\"code\":\"UPS\",\"name\":\"UPS\"}," +
            "{\"code\":\"DHL\",\"name\":\"DHL\"}," +
            "{\"code\":\"FEDEX\",\"name\":\"FEDEX联邦(国内件)\"}," +
            "{\"code\":\"FEDEX_GJ\",\"name\":\"FEDEX联邦(国际件)\"}" +
            "],\"errmsg\":\"成功\"}";

}
